import data_analysis from '@/views/cockpit/data_analysis'

export const AllRouter = [
    {
        path: "data_analysis",
        name: "data_analysis",
        meta: {
            keepAlive: false,
        },
        component: data_analysis,
    },
    {
        path: "device_data_details",
        name: "device_data_details",
        meta: {
            keepAlive: false,
        },
        component:()=> import(/* 设备大数据状态详情 */ '@/views/cockpit/device_details'),
    },
    {
        path: "running_state",
        name: "running_state",
        meta: {
            keepAlive: false,
        },
        component: ()=>import(/* 运行状态 */ '@/views/cockpit/running_state'),
    },
    {
        path: "run_list",
        name: "run_list",
        meta: {
            keepAlive: false,
        },
        component: ()=>import(/* 设备运行列表 */ '@/views/cockpit/run_list'),
    },
    {
        path: "map_home",
        name: "map_home",
        meta: {
            keepAlive: false,
        },
        component:()=> import(/* 企业的数据统计 */ '@/views/map/map_home'),
    },

    /**
     * 设备
     *
     * */
    {
        //设备基本信息
        path: "essential",
        name: "essential",
        mate: {
            keepAlive: false
        },
        component: () =>
            import( /** 设备管理模块 */ '@/views/device/essential'),
    },
    {
        //工件信息设置
        path: "WorkpieceInformation",
        name: "WorkpieceInformation",
        mate: {
            keepAlive: false
        },
        component: () =>
            import( /** 设备管理模块 */ '@/views/device/WorkpieceInformation'),
    },
    {
        //设备人员设置P
        path: "EquipmentPersonnel",
        name: "EquipmentPersonnel",
        mate: {
            keepAlive: false
        },
        component: () =>
            import( /** 设备管理模块 */ '@/views/device/EquipmentPersonnel'),
    },
    {
        //任务派发
        path: "task_distribution",
        name: "task_distribution",
        mate: {
            keepAlive: false
        },
        component: () =>
            import( /** 任务派发 */ '@/views/device/task_distribution'),
    },
    {
        //工单记录
        path: "work_order_record",
        name: "work_order_record",
        mate: {
            keepAlive: false
        },
        component: () =>
            import( /** 工单记录 */ '@/views/device/work_order_record'),
    },
    /**
     * 统计
     *
     * */
    {
        path: "device_statistics_day",
        name: "device_statistics_day",
        meta: {
            keepAlive: false,
        },
        component:()=> import(/* 设备运行日报表 */ '@/views/statistics/device_statistics_day'),
    },
    {
        path: "quality_traceability",
        name: "quality_traceability",
        meta: {
            keepAlive: false,
        },
        component:()=> import(/* 质量溯源 */ '@/views/statistics/quality_traceability'),
    },
    {
        path: "export_echarts",
        name: "export_echarts",
        meta: {
            keepAlive: false,
        },
        component:()=> import(/* 质量溯源 */ '@/views/statistics/export_echarts'),
    },
    /**
     * 系统
     * */

    {
        path: "user",
        name: "user",
        meta: {
            keepAlive: false,
        },
        component:()=> import(/* 用户管理 */ '@/views/system/user/user'),
    },
    {
        path: "userDetails",
        name: "userDetails",
        meta: {
            keepAlive: false,
        },
        component:()=> import(/* 用户管理 */ '@/views/system/user/userDetails'),
    },
    {
        path: "role",
        name: "role",
        meta: {
            keepAlive: false,
        },
        component:()=> import(/* 角色管理 */ '@/views/system/role/role'),
    },
    {
        path: "team",
        name: "team",
        meta: {
            keepAlive: false,
        },
        component:()=> import(/* 班组管理 */ '@/views/system/team/team'),
    },
    {
        path: "data",
        name: "data",
        meta: {
            keepAlive: false,
        },
        component:()=> import(/* 班组管理 */ '@/views/system/dic_data/dic_data'),
    },
    {
        path: "type",
        name: "type",
        meta: {
            keepAlive: false,
        },
        component:()=> import(/* 班组管理 */ '@/views/system/dic_type/dic_type'),
    },
    /**
     * 测试
     * */
    {
        path: "js_excel",
        name: "js_excel",
        meta: {
            keepAlive: false,
        },
        component:()=> import(/* 用户测试 */ '@/views/test/js_excel'),
    }


]
